package com.yixin.hospital.entity.bo;

import com.yixin.hospital.entity.domain.PurchaseOrderOperation;
import com.yixin.hospital.entity.vo.DrugDepositoryVo;
import com.yixin.hospital.entity.vo.PurchaseOrderOperationVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("采购药品详情")
public class PurchaseOrderDetail {
    @ApiModelProperty(value = "药品编码", example = "YXT000002")
    private String drugCode;
    @ApiModelProperty(value = "库id", example = "1")
    private Long depositoryId;
    @ApiModelProperty(value = "库名", example = "1")
    private String depositoryName;
    @ApiModelProperty(value = "药品名称", example = "活络喜")
    private String drugName;
    @ApiModelProperty(value = "药品通用名", example = "活络喜")
    private String drugCommonName;
    @ApiModelProperty(value = "药品规格", example = "20g*10片*盒")
    private String drugSpecs;
    @ApiModelProperty(value = "药品状态", example = "活络喜")
    private Integer status;
    @ApiModelProperty(value = "剂型", example = "片剂")
    private String form;
    @ApiModelProperty(value = "原库存数量", example = "10")
    private Integer sourceNum;
    @ApiModelProperty(value = "完成后库存数量", example = "10")
    private Integer doneInventory;
    @ApiModelProperty(value = "采购数量", example = "10")
    private Integer num;
    @ApiModelProperty(value = "可入库数量", example = "10")
    private Integer canGodownNum;
    @ApiModelProperty(value = "厂家", example = "赛诺菲")
    private String factory;
    @ApiModelProperty(value = "外包装单位", example = "盒")
    private String outerUnit;
    @ApiModelProperty(value = "库存", example = "204")
    private Integer depositoryNum;
    @ApiModelProperty(value = "最低采购量", example = "10")
    private Integer minPurchaseNum;
    @ApiModelProperty(value = "采购周期", example = "10")
    private Integer buyCycle;
    @ApiModelProperty(value = "采购单id", example = "10")
    private Long purchaseOrderId;

    @ApiModelProperty(value = "入库药品列表")
    List<GodownDrugDetail> godownDrugList;


    private List<DrugDepositoryVo> drugDepositoryVoList = new ArrayList<>();
    private List<PurchaseOrderOperationVo> operationList = new ArrayList<>();
}
